package com.wpt.main.event
{
	import flash.events.Event;
	
	public class FilesEvent extends Event
	{
		
		public static const addFile:String = "addFile";
		public static const deleteFile:String = "deleteFile";
		
		public static const leftTreeClick:String = "leftTreeClick";
		public static const rightClick:String = "rightClick";
		public static const preClick:String = "preClick";
		
		public var opeType:String;//操作类型
		
		public var fileId:String;
		public var path:String;
		public var name:String;//增加文件夹的名称，或者删除的文件名
		public var selNode:XML;//从右边选择的节点，打开文件夹，用于同时更新左边的树,或者是删除时候选择的节点
		public var filesXml:XML;//左边树展开后，同时展开右边相应的目录，显示目录下面的文件
		
		public function FilesEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
		override public function clone():Event{     
			return new FilesEvent(type);     
		}
	}
}